package org.example.mapper;

import com.qidian.mes.pojo.Defect;

import java.util.List;

/**
 * @Author 严伟伦
 * @Company 无
 * @Description
 * @Date: 2024/10/16 18:50
 */
public interface DefectMapper {
    //分页查询defect数据
    List<Defect> selectByPage(Defect defect);
    //新增
    int addDefect(Defect defect);
    //行编辑
    int updateDefect(Defect defect);
    //根据id查询数据（行编辑回显）
    Defect selectDefectById(int defectId);
    //行删除
    int deleteDefectById(int defectId);
    //批量删除
    int deletes(int[] defectIds);


}
